<?php

/**
* alltosun.com  openapi_config.php for newbd
* ============================================================================
* 版权所有 (C) 2009-2014 北京互动阳光科技有限公司，并保留所有权利。
* 网站地址: http://www.alltosun.com
* ----------------------------------------------------------------------------
* 许可声明: 这是一个开源程序，未经许可不得将本软件的整体或任何部分用于商业用途及再发布。
* ============================================================================
* Author: 吴松键 (wusj@alltosun.com)
* Date: 15/1/19 下午1:01
*/

require_once MODULE_PATH.'/openapi/config/alipay_config.php';

class openapi_config
{
    public static $pay_type = array(
        1=> array(
            'title'  => '支付宝',
            'module' => 'openapi/alipay/pay',
            'refund' => 'openapi/alipay/refund',
            //'module' => 'openapi/test/index',
            'dis'    => '通过支付宝平台支付'
        ),
        // 2=> array(
        //     'title'  => '微信',
        //     // 'module' => 'openapi/weixin/pay',
        //     'refund' => 'openapi/weixin/refund',
        //     //'module' => 'openapi/test/index',
        //     'dis'    => '通过微信平台支付'
        // )
        /*
        2=> array(
            'title'  => '银联',
            'module' => 'openapi/quickpay/pay',
            'refund' => 'openapi/quickpay/refund',
            //'module' => 'openapi/test/index',
            'dis'    => '通过网银支付'
        ),
        3=> array(
            'title'  => '财付通',
            'module' => 'openapi/tenpay/pay',
            'refund' => 'openapi/tenpay/refund',
            'query'  => 'openapi/tenpay/refund_query',
            //'module' => 'openapi/test/index',
            'dis'    => '通过财付通支付'
        ),
        //4 => array(
         //   'title'  => '快钱',
            //'module' => 'openapi/quick/pay',
           // 'module' => 'openapi/test/index',
            //'dis'    => '通过快钱支付'
        //),
        */
    );


    public static $login_setting = array(
            //type                name      sql
            'sinaweibo' => array('新浪微博', 'connect'),
            'qq'        => array('QQ', 'connect_qq'),
            'baidu' => array('百度', 'connect_baidu'),
            'weixin' => array('微信', 'connect_weixin'),
            'lenovo' => array('联想', 'connect_lenovo')
        );
}